package com.bdd.service;

import com.bdd.common.AjaxResponseResult;
import com.bdd.dto.IdentityDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author Bdd
 * @Description
 * @Date 2020/3/31 21:12
 */
@Component
@FeignClient("SERVERB")
public interface IdentityFeignService {

    @PostMapping("identity/save")
    AjaxResponseResult save(@RequestBody IdentityDto identityDto);

}
